import { _decorator, Component, Prefab, AssetManager } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('DragTetrisAssetsLoad')
export default class DragTetris_AssetsLoad extends Component {
    static Instance: DragTetris_AssetsLoad;
    @property(Prefab)
    Grid: Prefab | null = null;
    @property(Prefab)
    Block: Prefab | null = null;
    @property(Prefab)
    BlockGroup: Prefab | null = null;
    // @property(Prefab)
    // Card: Prefab | null = null;

    static bundle: AssetManager.Bundle = new AssetManager.Bundle();
    onLoad() {
        DragTetris_AssetsLoad.Instance = this;
    }
}

// /** 调试 */
window["DragTetris_AssetsLoad"] = DragTetris_AssetsLoad;